package com.lovo.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 角色类
 */
@Data
@TableName("t_role")
public class RoleBean {
    @TableId(value = "role_id", type = IdType.AUTO)
   private Integer roleId;
    @TableField("role_name")
    private String roleName;
    @TableField(exist = false)
    private List<JurisdictionBean> jurisdictionList;
}
